<?php /* Smarty version 2.6.16, created on 2009-04-16 12:01:03
         compiled from Rate.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'Rate.html', 2, false),array('function', 'language', 'Rate.html', 5, false),array('function', 'img', 'Rate.html', 23, false),array('function', 'module', 'Rate.html', 52, false),array('modifier', 'default', 'Rate.html', 35, false),)), $this); ?>
<?php if (! $this->_tpl_vars['bNoPics']): ?>
<form method="post" action="<?php echo smarty_function_url(array('link' => 'public.gallery.rate','id' => $this->_tpl_vars['aItem']['id']), $this);?>
">
    <div style="text-align:center;">
        <span style="vertical-align:middle;">
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="1" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#9dd8ff;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#9dd8ff';" />
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="2" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#b3e6ff;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#b3e6ff';" />
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="3" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#caf7ff;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#caf7ff';" />
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="4" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#e4ffff;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#e4ffff';" />
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="5" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#f7ffff;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#f7ffff';" />
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="6" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#ffe7e6;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#ffe7e6';" />
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="7" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#ffbdbc;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#ffbdbc';" />
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="8" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#ffa4a5;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#ffa4a5';" />
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="9" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#ff5b5c;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#ff5b5c';" />
            <input type="submit"<?php if ($this->_tpl_vars['bRated']): ?> onClick="alert('<?php echo smarty_function_language(array('text' => 'sorry_you_have_already_rated_this_p'), $this);?>
'); return false;"<?php endif; ?> name="rating" value="10" style="padding-left:5px;padding-right:5px;margin-left:2px;background:#fa2225;cursor:pointer;color:#000;font-weight:bold;"  onmouseover="this.style.backgroundColor='#c0c0c0';" onmouseout="this.style.backgroundColor='#fa2225';" />
        </span>
        <a href="<?php echo smarty_function_url(array('link' => 'public.gallery.rate','page' => $this->_tpl_vars['iNextPage']), $this);?>
">
            <img alt="" src="<?php echo $this->_tpl_vars['sStylePath']; ?>
button_fw.gif" style="vertical-align:middle;" onmouseover="showInfo2('Next Pic');" onmouseout="return nd();" />
        </a>
    </div>
</form>
<div style="text-align:center;" class="color">
<br />
<?php echo smarty_function_img(array('src' => ($this->_tpl_vars['sActualImage']),'src_def' => "design/pic/noimage_120.jpg",'max_width' => '500','max_height' => '500'), $this);?>

<br />
<span style="padding-left:10px;">
    <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.gallery.view','id' => $this->_tpl_vars['aItem']['id']), $this);?>
#comment">[ <?php echo smarty_function_language(array('text' => 'leave_a_comment'), $this);?>
 ]</a>&nbsp;<a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.user.gallery','name' => $this->_tpl_vars['aItem']['user']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'view_gallery'), $this);?>
 ]</a>
</span>
<br /><br />
<table style="width: 100%;" cellpadding="4" cellspacing="0">
    <tr>
        <td class="border2">
            <table style="width: 100%;text-align:left;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
                    <td class="block_header"><?php echo ((is_array($_tmp=@$this->_tpl_vars['aItem']['text'])) ? $this->_run_mod_handler('default', true, $_tmp, 'Untitled') : smarty_modifier_default($_tmp, 'Untitled')); ?>
</td>
                </tr>
            </table>
            <table style="width:100%;" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="vertical-align:middle;font-size:8pt;width:60%;text-align:left;" class="color">
                        <div style="padding-left:8px;">
                            <div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'views'), $this);?>
</b>: <?php echo $this->_tpl_vars['aItem']['view']; ?>
</div>
                            <div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'comments_67'), $this);?>
</b>: <?php echo $this->_tpl_vars['aItem']['comment']; ?>
</div>
                            <div style="padding-top:4px;"><b><?php echo smarty_function_language(array('text' => 'rating'), $this);?>
</b>: <?php echo $this->_tpl_vars['aItem']['rating']; ?>
</div>
                        </div>
                    </td>
                    <td style="width:40%;text-align:center;vertical-align:middle;">
                        <div style="padding-bottom:5px;">
                            <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
"><?php echo $this->_tpl_vars['aItem']['user']; ?>
</a>
                        </div>
                        <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
">
                            <?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aItem']['user'],'iSize' => 75,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aItem']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

                        </a>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</div>
<?php else: ?>
		<div style="padding:30px;font-size:10pt;" class="color">
        <div class="message_info">
		<?php echo smarty_function_language(array('text' => 'there_are_no_images_yet'), $this);?>

        </div>
		<div style="padding:15px;">
		  <a href="<?php echo smarty_function_url(array('link' => 'public.account.submit.upload-pic'), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'upload_your_pic_now'), $this);?>
 ]</a>
		</div>
		</div>
		<br /><br /><br /><br />
<?php endif; ?>